package org.framework.define.bean.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the tbl_task database table.
 * 
 */
@Entity
@Table(name="tbl_task")
public class TblTask implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="task_id", unique=true, nullable=false, length=50)
	private String taskId;

	@Column(name="append_coins", precision=10, scale=2)
	private BigDecimal appendCoins;

	@Column(name="buyer_biz_account", length=25)
	private String buyerBizAccount;

	@Column(name="buyer_security_deposit", nullable=false, precision=10, scale=2)
	private BigDecimal buyerSecurityDeposit;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="creat_time", nullable=false)
	private Date creatTime;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="finish_time")
	private Date finishTime;

	@Column(name="need_append_cmt", length=50)
	private String needAppendCmt;

	@Column(name="need_append_show", length=255)
	private String needAppendShow;

	@Column(name="need_channel", length=100)
	private String needChannel;

	@Column(name="need_chat", length=4)
	private String needChat;

	@Column(name="need_check", length=4)
	private String needCheck;

	@Column(name="need_comment", length=140)
	private String needComment;

	@Column(name="need_compare", length=4)
	private String needCompare;

	@Column(name="need_modify_price", length=4)
	private String needModifyPrice;

	@Column(name="need_real", length=4)
	private String needReal;

	@Column(name="need_receive_addr", length=255)
	private String needReceiveAddr;

	@Column(name="need_received", length=20)
	private String needReceived;

	@Column(name="need_safe", length=4)
	private String needSafe;

	@Column(name="need_share", length=20)
	private String needShare;

	@Column(name="need_show", length=255)
	private String needShow;

	@Column(name="need_take_addr", length=20)
	private String needTakeAddr;

	@Column(name="need_tb_coins", length=25)
	private String needTbCoins;

	@Column(name="pay_coins", nullable=false, precision=10, scale=2)
	private BigDecimal payCoins;

	@Column(name="post_ip", nullable=false, length=20)
	private String postIp;

	@Lob
	@Column(name="product_info", nullable=false)
	private String productInfo;

	@Column(name="product_score", length=4)
	private String productScore;

	@Column(name="publish_type", nullable=false, length=5)
	private String publishType;

	@Column(name="recipient_user_id", length=20)
	private String recipientUserId;

	@Column(name="search_image_tip", length=100)
	private String searchImageTip;

	@Column(name="search_keyword", length=50)
	private String searchKeyword;

	@Column(name="search_tip", length=140)
	private String searchTip;

	@Column(name="seller_biz_account", nullable=false, length=25)
	private String sellerBizAccount;

	@Column(name="seller_prompt", length=255)
	private String sellerPrompt;

	@Column(name="seller_security_deposit", nullable=false, precision=10, scale=2)
	private BigDecimal sellerSecurityDeposit;

	@Column(name="spend_coins", nullable=false, precision=10, scale=2)
	private BigDecimal spendCoins;

	@Column(name="take_ip", length=20)
	private String takeIp;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="take_time")
	private Date takeTime;

	@Column(name="task_ico", nullable=false, length=50)
	private String taskIco;

	@Column(name="task_state", nullable=false, length=5)
	private String taskState;

	@Column(nullable=false)
	private int type;

	@Column(name="user_id", nullable=false, length=20)
	private String userId;

	public TblTask() {
	}

	public String getTaskId() {
		return this.taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public BigDecimal getAppendCoins() {
		return this.appendCoins;
	}

	public void setAppendCoins(BigDecimal appendCoins) {
		this.appendCoins = appendCoins;
	}

	public String getBuyerBizAccount() {
		return this.buyerBizAccount;
	}

	public void setBuyerBizAccount(String buyerBizAccount) {
		this.buyerBizAccount = buyerBizAccount;
	}

	public BigDecimal getBuyerSecurityDeposit() {
		return this.buyerSecurityDeposit;
	}

	public void setBuyerSecurityDeposit(BigDecimal buyerSecurityDeposit) {
		this.buyerSecurityDeposit = buyerSecurityDeposit;
	}

	public Date getCreatTime() {
		return this.creatTime;
	}

	public void setCreatTime(Date creatTime) {
		this.creatTime = creatTime;
	}

	public Date getFinishTime() {
		return this.finishTime;
	}

	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}

	public String getNeedAppendCmt() {
		return this.needAppendCmt;
	}

	public void setNeedAppendCmt(String needAppendCmt) {
		this.needAppendCmt = needAppendCmt;
	}

	public String getNeedAppendShow() {
		return this.needAppendShow;
	}

	public void setNeedAppendShow(String needAppendShow) {
		this.needAppendShow = needAppendShow;
	}

	public String getNeedChannel() {
		return this.needChannel;
	}

	public void setNeedChannel(String needChannel) {
		this.needChannel = needChannel;
	}

	public String getNeedChat() {
		return this.needChat;
	}

	public void setNeedChat(String needChat) {
		this.needChat = needChat;
	}

	public String getNeedCheck() {
		return this.needCheck;
	}

	public void setNeedCheck(String needCheck) {
		this.needCheck = needCheck;
	}

	public String getNeedComment() {
		return this.needComment;
	}

	public void setNeedComment(String needComment) {
		this.needComment = needComment;
	}

	public String getNeedCompare() {
		return this.needCompare;
	}

	public void setNeedCompare(String needCompare) {
		this.needCompare = needCompare;
	}

	public String getNeedModifyPrice() {
		return this.needModifyPrice;
	}

	public void setNeedModifyPrice(String needModifyPrice) {
		this.needModifyPrice = needModifyPrice;
	}

	public String getNeedReal() {
		return this.needReal;
	}

	public void setNeedReal(String needReal) {
		this.needReal = needReal;
	}

	public String getNeedReceiveAddr() {
		return this.needReceiveAddr;
	}

	public void setNeedReceiveAddr(String needReceiveAddr) {
		this.needReceiveAddr = needReceiveAddr;
	}

	public String getNeedReceived() {
		return this.needReceived;
	}

	public void setNeedReceived(String needReceived) {
		this.needReceived = needReceived;
	}

	public String getNeedSafe() {
		return this.needSafe;
	}

	public void setNeedSafe(String needSafe) {
		this.needSafe = needSafe;
	}

	public String getNeedShare() {
		return this.needShare;
	}

	public void setNeedShare(String needShare) {
		this.needShare = needShare;
	}

	public String getNeedShow() {
		return this.needShow;
	}

	public void setNeedShow(String needShow) {
		this.needShow = needShow;
	}

	public String getNeedTakeAddr() {
		return this.needTakeAddr;
	}

	public void setNeedTakeAddr(String needTakeAddr) {
		this.needTakeAddr = needTakeAddr;
	}

	public String getNeedTbCoins() {
		return this.needTbCoins;
	}

	public void setNeedTbCoins(String needTbCoins) {
		this.needTbCoins = needTbCoins;
	}

	public BigDecimal getPayCoins() {
		return this.payCoins;
	}

	public void setPayCoins(BigDecimal payCoins) {
		this.payCoins = payCoins;
	}

	public String getPostIp() {
		return this.postIp;
	}

	public void setPostIp(String postIp) {
		this.postIp = postIp;
	}

	public String getProductInfo() {
		return this.productInfo;
	}

	public void setProductInfo(String productInfo) {
		this.productInfo = productInfo;
	}

	public String getProductScore() {
		return this.productScore;
	}

	public void setProductScore(String productScore) {
		this.productScore = productScore;
	}

	public String getPublishType() {
		return this.publishType;
	}

	public void setPublishType(String publishType) {
		this.publishType = publishType;
	}

	public String getRecipientUserId() {
		return this.recipientUserId;
	}

	public void setRecipientUserId(String recipientUserId) {
		this.recipientUserId = recipientUserId;
	}

	public String getSearchImageTip() {
		return this.searchImageTip;
	}

	public void setSearchImageTip(String searchImageTip) {
		this.searchImageTip = searchImageTip;
	}

	public String getSearchKeyword() {
		return this.searchKeyword;
	}

	public void setSearchKeyword(String searchKeyword) {
		this.searchKeyword = searchKeyword;
	}

	public String getSearchTip() {
		return this.searchTip;
	}

	public void setSearchTip(String searchTip) {
		this.searchTip = searchTip;
	}

	public String getSellerBizAccount() {
		return this.sellerBizAccount;
	}

	public void setSellerBizAccount(String sellerBizAccount) {
		this.sellerBizAccount = sellerBizAccount;
	}

	public String getSellerPrompt() {
		return this.sellerPrompt;
	}

	public void setSellerPrompt(String sellerPrompt) {
		this.sellerPrompt = sellerPrompt;
	}

	public BigDecimal getSellerSecurityDeposit() {
		return this.sellerSecurityDeposit;
	}

	public void setSellerSecurityDeposit(BigDecimal sellerSecurityDeposit) {
		this.sellerSecurityDeposit = sellerSecurityDeposit;
	}

	public BigDecimal getSpendCoins() {
		return this.spendCoins;
	}

	public void setSpendCoins(BigDecimal spendCoins) {
		this.spendCoins = spendCoins;
	}

	public String getTakeIp() {
		return this.takeIp;
	}

	public void setTakeIp(String takeIp) {
		this.takeIp = takeIp;
	}

	public Date getTakeTime() {
		return this.takeTime;
	}

	public void setTakeTime(Date takeTime) {
		this.takeTime = takeTime;
	}

	public String getTaskIco() {
		return this.taskIco;
	}

	public void setTaskIco(String taskIco) {
		this.taskIco = taskIco;
	}

	public String getTaskState() {
		return this.taskState;
	}

	public void setTaskState(String taskState) {
		this.taskState = taskState;
	}

	public int getType() {
		return this.type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

}